<div class="list">
    <table>
        <thead>
            <tr>
                <g:sortableColumn property="date" title="Date" titleKey="marketPriceActual.date" />
                <g:sortableColumn property="approved" title="Approved" titleKey="marketPriceActual.approved" />
                <g:sortableColumn property="dateCreated" title="Date Created" titleKey="marketPriceActual.dateCreated" />
                <g:sortableColumn property="lastUpdated" title="Last Updated" titleKey="marketPriceActual.lastUpdated" />
            </tr>
        </thead>
        <tbody>
        <g:each in="${marketPriceActualInstanceList}" status="i" var="marketPriceActualInstance">
            <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
                <td><g:link action="show" id="${marketPriceActualInstance.id}"><g:formatDate date="${marketPriceActualInstance.date}" format="yyyy-MM-dd"/></g:link></td>
                <td><g:link action="show" id="${marketPriceActualInstance.id}"><g:formatBoolean boolean="${marketPriceActualInstance.approved}" /></g:link></td>
                <td><g:link action="show" id="${marketPriceActualInstance.id}"><g:formatDate date="${marketPriceActualInstance.dateCreated}" format="yyyy-MM-dd HH:mm:ss"/></g:link></td>
                <td><g:link action="show" id="${marketPriceActualInstance.id}"><g:formatDate date="${marketPriceActualInstance.lastUpdated}" format="yyyy-MM-dd HH:mm:ss"/></g:link></td>
            </tr>
        </g:each>
        </tbody>
    </table>
</div>
